package young.zhang.domain;

import young.zhang.domain.enums.EatableTypeEnum;

import java.awt.Point;

public class Shit implements IEatable{
    private Point shitCoordinate;
    private float shitRadius;
    private EatableTypeEnum eatableType;
    private Double discount;
    private boolean eatable;

    public boolean isEatable() {
        return eatable;
    }

    public void setEatable(boolean eatable) {
        this.eatable = eatable;
    }

    public Shit(Point shitCoordinate, float shitRadius, EatableTypeEnum eatableType) {
        this.shitCoordinate = shitCoordinate;
        this.shitRadius = shitRadius;
    }

    public Point getshitCoordinate() {
        return this.shitCoordinate;
    }

    public float getshitRadius() {
        return this.shitRadius;
    }

    public EatableTypeEnum getEatableType() {
        return eatableType;
    }


    public Point getShitCoordinate() {
        return shitCoordinate;
    }

    public void setShitCoordinate(Point shitCoordinate) {
        this.shitCoordinate = shitCoordinate;
    }

    public float getShitRadius() {
        return shitRadius;
    }

    public void setShitRadius(float shitRadius) {
        this.shitRadius = shitRadius;
    }

    public void setEatableType(EatableTypeEnum eatableType) {
        this.eatableType = eatableType;
    }

    public Double getDiscount() {
        return discount;
    }

    public void setDiscount(Double discount) {
        this.discount = discount;
    }

    public float getEatableRadius() {
        return this.shitRadius;
    }


}
